﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class BXSQBarcodeCheckDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXSQBarcodeCheckRequestDto
    {
        /// <summary>
        /// 描述 : 派车单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "dispatch_no")]
        public string dispatch_no { get; set; }
        

        public List<TMSFreightDetailsRequestDto> rows { get; set; }

    }

    /// <summary>
    /// 条码生成明细表
    /// </summary>
    public class BXSQBarcodeCheckRequestDto
    {
      

        /// <summary>
        /// 描述 : 发货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "startaddress")]
        public string startaddress { get; set; }

        /// <summary>
        /// 描述 : 收货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "targetaddress")]
        public string targetaddress { get; set; }


        /// <summary>
        /// 描述 : 车型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "cartypecode")]
        public string cartypecode { get; set; }

        /// <summary>
        /// 描述 : 数量
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialamount")]
        public decimal  materialamount { get; set; }

       
      
    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXSQBarcodeCheckResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }

        /// <summary>
        /// 描述 : 运价 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "price")]
        public decimal price { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
